CN112102081B - Method, device, readable storage medium and blockchain network for generating blockchain - Google Patents

Method, device, readable storage medium and blockchain network for generating blockchain Download PDF

Info

Publication number
CN112102081B
CN112102081B CN202010839839.XA CN202010839839A CN112102081B CN 112102081 B CN112102081 B CN 112102081B CN 202010839839 A CN202010839839 A CN 202010839839A CN 112102081 B CN112102081 B CN 112102081B
Authority
CN
China
Prior art keywords
node
participant
blockchain
service channel
blockchain network
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
CN202010839839.XA
Other languages
Chinese (zh)
Other versions
CN112102081A (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.)
Tianxing Digital Technology Co ltd
Original Assignee
Tianxing Digital 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 Tianxing Digital Technology Co ltd filed Critical Tianxing Digital Technology Co ltd
Priority to CN202010839839.XA priority Critical patent/CN112102081B/en
Publication of CN112102081A publication Critical patent/CN112102081A/en
Application granted granted Critical
Publication of CN112102081B publication Critical patent/CN112102081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The present disclosure relates to a method, apparatus, readable storage medium, and blockchain network for generating blockchains to increase the capacity of blockchains. The method comprises the following steps: acquiring related information of each participant node to be registered in the blockchain network; determining a target participant node corresponding to each service channel in the blockchain network according to the related information of each participant node; for each service channel, grouping target participant nodes corresponding to the service channel according to a grouping rule of the service channel to obtain at least one participant node category, and registering nodes corresponding to each participant node category in the service channel; and for each node, registering each target participant node belonging to the participant node class corresponding to the node under the node as a child node respectively to generate the blockchain in the blockchain network.

Description

Method, device, readable storage medium and blockchain network for generating blockchain
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a method and apparatus for generating a blockchain, a readable storage medium, and a blockchain network.
Background
Currently, with the increasing popularity of computer technology and network communication applications and the increasing abundance of business types in different fields, secure data management over networks is becoming increasingly important. The blockchain technology is a distributed, decentralised and distrusted network data consensus storage technology, which realizes the synchronization problem of distributed computation based on a unique Block (Block) generation mechanism and a P2P (Point to Point) network communication mechanism. Therefore, the blockchain technology is widely applied to various fields, such as bill, trade, game, medical treatment, food, government affairs and the like, and particularly to the financial field.
In the related art, each party to be registered in a blockchain is typically registered directly into the blockchain as an org (organization) in the blockchain. However, in practical applications, the number of orgs of the blockchain is not easily excessive, generally not more than ten, and if excessive, the performance of the blockchain is affected. When the number of participants is large, due to the small org number of the blockchain, part of the participants cannot be registered in the blockchain, and data of the participants which are not registered in the blockchain cannot be safely and reliably accessed by other participants, so that the use experience of users is affected.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, readable storage medium, and blockchain network for generating blockchains.
According to a first aspect of embodiments of the present disclosure, there is provided a method of generating a blockchain, comprising:
acquiring related information of each participant node to be registered in the blockchain network;
determining a target participant node corresponding to each service channel in the blockchain network according to the related information of each participant node;
for each service channel, grouping target participant nodes corresponding to the service channel according to grouping rules of the service channel to obtain at least one participant node category, and registering nodes corresponding to each participant node category in the service channel; and
for each node, registering each target participant node belonging to the participant node class corresponding to the node under the node as a child node to generate the blockchain in the blockchain network.
Optionally, before the target participant node corresponding to the service channel is grouped according to the grouping rule of the service channel, the method further includes:
and determining that the number of the target participant nodes corresponding to the service channels is greater than or equal to a preset number.
Optionally, the method further comprises:
and under the condition that the number of the target participant nodes corresponding to the service channel is smaller than the preset number, each target participant node is respectively used as a node to be registered into the service channel.
Optionally, after registering each target participant node belonging to the participant node class corresponding to the node under the node as a child node, the method further includes:
configuring access resources for each child node;
wherein each of the child nodes accesses any one of the data in the blockchain through the access resource of the child node.
Optionally, before registering the nodes corresponding to each of the participant node categories in the service channel, the method further includes:
relevant information for each of the participant node categories is registered with the blockchain network.
Optionally, each of the child nodes can provide an access interface for a user to access the blockchain network.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus for generating a blockchain, comprising:
the first acquisition module is configured to acquire related information of each participant node to be registered in the blockchain network;
the first determining module is configured to determine a target participant node corresponding to each service channel in the blockchain network according to the related information of each participant node;
the grouping module is configured to group target participant nodes corresponding to the service channels according to grouping rules of the service channels for each service channel to obtain at least one participant node category, and register nodes corresponding to each participant node category in the service channels; and
the first registration module is configured to register each target participant node belonging to the participant node category corresponding to the node under the node as a child node for each node so as to generate the blockchain in the blockchain network.
Optionally, the apparatus further comprises:
the first determining module is configured to determine that the number of the target participant nodes corresponding to the service channels is greater than or equal to a preset number.
Optionally, the apparatus further comprises:
and the second registration module is configured to register each target participant node into the service channel as a node respectively under the condition that the number of the target participant nodes corresponding to the service channel is smaller than the preset number.
Optionally, the apparatus further comprises:
a configuration module configured to configure access resources for each of the child nodes;
wherein each of the child nodes accesses any one of the data in the blockchain through the access resource of the child node.
Optionally, the apparatus further comprises:
a third registration module configured to register information regarding each of the participant node categories with the blockchain network.
According to a third aspect of embodiments of the present disclosure, there is provided an apparatus for generating a blockchain, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring related information of each participant node to be registered in the blockchain network;
determining a target participant node corresponding to each service channel in the blockchain network according to the related information of each participant node;
for each service channel, grouping target participant nodes corresponding to the service channel according to grouping rules of the service channel to obtain at least one participant node category, and registering nodes corresponding to each participant node category in the service channel; and
for each node, registering each target participant node belonging to the participant node class corresponding to the node under the node as a child node to generate the blockchain in the blockchain network.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of generating a blockchain provided by the first aspect of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a blockchain network including at least one blockchain generated according to the method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
by adopting the technical scheme, firstly, target participant nodes corresponding to the service channels are grouped to obtain at least one participant node category, nodes corresponding to each category are registered in the service channels, and each target participant node belonging to the participant node category corresponding to the node is registered under the node as a child node respectively to generate a blockchain. Therefore, the nodes of each participant are grouped, on one hand, the number of the nodes registered in the service channel can be effectively reduced, and on the other hand, the category number can be controlled by controlling the grouping rule, so that the control of the number of the nodes registered in the service channel is realized. And, registering the participant node under the node corresponding to the category can increase the number of parameter parties registered in the blockchain, thereby improving the capacity of the blockchain.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flowchart illustrating a method of generating a blockchain in accordance with an exemplary embodiment.
FIG. 2 is a schematic diagram of a blockchain shown in accordance with an exemplary embodiment.
FIG. 3 is a flowchart illustrating another method of generating a blockchain in accordance with an exemplary embodiment.
FIG. 4 is a flowchart illustrating another method of generating a blockchain in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating an apparatus for generating a blockchain in accordance with an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus for generating a blockchain in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
First, a blockchain network provided by the present disclosure will be described. The blockchain network includes at least one blockchain, and is a network for recording participants of an uplink to the blockchain and for co-viewing and supervising blocks recorded on the blockchain. It is noted that in this disclosure, blockchains are generated in a blockchain network in accordance with the method of generating blockchains.
Next, a method of generating a blockchain provided by the present disclosure is described.
FIG. 1 is a flowchart illustrating a method of generating a blockchain in accordance with an exemplary embodiment. As shown in fig. 1, the method may include the following steps.
In step 11, relevant information of each participant node to be registered in the blockchain network is obtained.
For example, the blockchain manager may input the related information of each of the participant nodes to be registered in the blockchain network into the electronic device executing the blockchain generation method, so that the electronic device executing the blockchain generation method obtains the related information of each of the participant nodes. Also for example, an electronic device executing the generated blockchain may be communicatively coupled to a device storing information about each participant node, to obtain information about each participant node from the device, and so on.
In the present disclosure, the related information of the parametric side node may be information capable of classifying the participant node. In general, classification may be performed according to the scale of the participants, classification may be performed according to the sponsored service of the participants, classification may be performed according to the names of the participants, and so on. Thus, the relevant information of the parametric side node may include, but is not limited to: participant name, participant size, and participant conduct business.
In step 12, according to the related information of each participant node, a target participant node corresponding to each service channel in the blockchain network is determined.
It is worth noting that multiple traffic channels may be created in the blockchain network according to actual needs, for example, resource traffic channels, vendor management traffic channels, medical traffic channels, food traffic channels, etc. may be created. Wherein the registered participant nodes in different traffic channels are different. For example, a participant node associated with funds, and a participant node associated with an asset, need to register into the asset management traffic channel. As another example, a medical-related participant node may need to register with a medical service channel, and so on. Thus, in the present disclosure, it is necessary to determine a target participant node corresponding to each service channel, so as to ensure that the participant node related to the service channel is registered in the service channel.
In step 13, for each service channel, the target participant nodes corresponding to the service channel are grouped according to the grouping rule of the service channel, so as to obtain at least one participant node category, and the nodes corresponding to each participant node category are registered in the service channel.
Wherein, the grouping rule of the service channel can be set when constructing the service channel. Illustratively, the grouping rule of the resource management service channel is to group the target participant nodes corresponding to the resource management service channel according to the target participant service, so that when grouping the target participant nodes corresponding to the resource management service channel, the participant nodes related to the funds can be grouped into a group to obtain a category of the participant nodes, wherein the category is the category of the funds; and grouping the participant nodes related to the asset into a group to obtain a category of the participant nodes, wherein the category is the asset category. Also, as an example, the grouping rule of the vendor management service channels is to group the target participant nodes of the scale [ a1, a2 ] into a group, which is a first-level scale participant node class, the target participant nodes of the scale [ a2, a 3) into a group, which is a second-level scale participant node class, the target participant nodes of the scale [ a3, a4] into a group, which is a third-level scale participant node class, and a1> a2> a3> a4.
After the grouping obtains at least one participant node category, a node corresponding to each participant node category (the node is org above) is registered in the service channel, and in the present disclosure, the node corresponding to the participant node category is registered in the service channel, so that the number of nodes in the service channel can be reduced.
In step 14, for each node, each target participant node belonging to the category of the participant node to which the node corresponds is registered under the node as a child node, respectively, to generate a blockchain in the blockchain network.
After registering the node corresponding to the participant node class in the traffic channel, each target participant node in the participant node class needs to be registered under the node. That is, for each node, each target participant node belonging to the category of the participant node corresponding to the node is registered under the node as a child node, respectively, so that a blockchain can be generated in the blockchain network.
For example, assuming that the service channel is an asset management service channel, and the target participating nodes corresponding to the asset management service channel are fund party 1, fund party 2, fund party 3, asset party 1 and asset party 2, the target participating nodes are classified into fund category and asset category according to the service of the participating party. One node corresponding to the fund category is registered in the service channel, the fund party 1, the fund party 2 and the fund party 3 are respectively registered below the node as child nodes, one node corresponding to the asset category is registered in the service channel, and the asset party 1 and the asset party 2 are divided into child nodes and registered below the node, so that the blockchain shown in fig. 2 can be obtained. As shown in fig. 2, only two nodes need to be registered in the traffic channel.
By adopting the technical scheme, firstly, target participant nodes corresponding to the service channels are grouped to obtain at least one participant node category, nodes corresponding to each category are registered in the service channels, and each target participant node belonging to the participant node category corresponding to the node is registered under the node as a child node respectively to generate a blockchain. Therefore, the nodes of each participant are grouped, on one hand, the number of the nodes registered in the service channel can be effectively reduced, and on the other hand, the category number can be controlled by controlling the grouping rule, so that the control of the number of the nodes registered in the service channel is realized. And, registering the participant node under the node corresponding to the category can increase the number of parameter parties registered in the blockchain, thereby improving the capacity of the blockchain.
It is worth noting that blockchains referred to in this disclosure can be categorized into public chains, private chains, and federated chains. Any node of the public chain is open to anyone, everyone can participate in the blockchain for calculation, therefore, the capacity of the public chain is usually larger, and the parameter parties do not need to be grouped. The private chain is only used inside an organization, and a user needs to be authorized to access and read and write data on the chain, and the number of participants is usually small. The amount of federation is limited to participation by the federation members, who are authorized to access, read and write data on the blockchain, and are simultaneously authorized to participate in accounting, transactions, and the federation will specify a set of rules for use by the internal members. Thus, in a preferred embodiment, the method of generating blockchains provided by the present disclosure may be used to generate a coalition chain.
FIG. 3 is a flowchart illustrating another method of generating a blockchain in accordance with an exemplary embodiment. As shown in fig. 3, the method further comprises a step 15 before step 13.
In step 15, it is determined that the number of target participant nodes corresponding to the service channel is greater than or equal to the preset number.
FIG. 4 is a flowchart illustrating another method of generating a blockchain in accordance with an exemplary embodiment. As shown in fig. 4, the method further comprises a step 16.
In step 16, when the number of target participant nodes corresponding to the service channel is less than the preset number, each target participant node is respectively registered as a node in the service channel.
In the case where the number of the participant nodes is relatively small (i.e., the number of the target participant nodes is smaller than the preset number), the phenomenon of insufficient org number of the blockchain does not occur, and the performance of the blockchain is not affected, so in this case, in order to reduce the grouping workload and the registration number, each target participant node may be directly registered as a node into the service channel without grouping. In the case where the number of target participant nodes is large (i.e., the number of target participant nodes is greater than or equal to the preset number), the target participant nodes may be grouped, i.e., the blockchain is generated according to steps 13 and 14 in fig. 1 and 3, in consideration of the insufficient number of org of the blockchain.
By adopting the technical scheme, when the number of the target participant nodes corresponding to the service channel is relatively small, each target participant node is directly registered into the service channel as one node respectively to generate the blockchain, when the number of the target participant nodes corresponding to the service channel is relatively large, the target participant nodes are grouped to obtain at least one category, the nodes corresponding to each category are registered, and then the participant nodes belonging to the category are registered under the nodes, so that the flexibility of generating the blockchain is improved.
In addition, in the method shown in fig. 3, after at least one participant node category is obtained according to step 13, the related information of the participant node category may be registered in the blockchain network, and then, the nodes corresponding to each participant node category respectively are registered in the service channel. Similarly, in the method shown in fig. 4, the relevant information of the target participant node may be registered in the blockchain network first, and then each target participant node is registered in the service channel as a node respectively.
In order for each participant node to be able to access data of any of the participant nodes in the blockchain, in one embodiment, each participant node may also be configured with an access resource, which may be an access server, an access protocol, or the like. Illustratively, in the method shown in FIG. 3, access resources may be configured for each child node such that each child node may access any data in the blockchain through the child node's access resources.
In another embodiment, in the method shown in FIG. 3, each child node is capable of providing an access interface for a user to access the blockchain network. For example, an account number and a password may be registered in the child node, so that a user may access any data in the blockchain through the account number and the password later.
Based on the same inventive concept, the present disclosure also provides an apparatus for generating a blockchain. FIG. 5 is a block diagram illustrating an apparatus for generating a blockchain in accordance with an exemplary embodiment. As shown in fig. 5, an apparatus 500 for generating a blockchain may include:
a first obtaining module 501 configured to obtain relevant information of each participant node to be registered in the blockchain network;
a first determining module 502, configured to determine, according to the related information of each of the participant nodes, a target participant node corresponding to each service channel in the blockchain network;
a grouping module 503, configured to group, for each service channel, target participant nodes corresponding to the service channel according to a grouping rule of the service channel, to obtain at least one participant node category, and register nodes corresponding to each participant node category in the service channel; and
a first registration module 504 is configured to register, for each of the nodes, each target participant node belonging to a participant node class corresponding to the node under the node as a child node, respectively, to generate the blockchain in the blockchain network.
Optionally, the apparatus further comprises:
the first determining module is configured to determine that the number of the target participant nodes corresponding to the service channels is greater than or equal to a preset number.
Optionally, the apparatus further comprises:
and the second registration module is configured to register each target participant node into the service channel as a node respectively under the condition that the number of the target participant nodes corresponding to the service channel is smaller than the preset number.
Optionally, the apparatus further comprises:
a configuration module configured to configure access resources for each of the child nodes;
wherein each of the child nodes accesses any one of the data in the blockchain through the access resource of the child node.
Optionally, the apparatus further comprises:
a third registration module configured to register information regarding each of the participant node categories with the blockchain network.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of generating a blockchain provided by the present disclosure.
FIG. 6 is a block diagram illustrating an apparatus for generating a blockchain in accordance with an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of a method of generating a blockchain. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the method of generating a blockchain.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform a method of generating a blockchain, including instructions. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described method of generating a blockchain when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method of generating a blockchain, comprising:
acquiring related information of each participant node to be registered in the blockchain network;
determining a target participant node corresponding to each service channel in the blockchain network according to the related information of each participant node;
for each service channel, grouping target participant nodes corresponding to the service channel according to grouping rules of the service channel to obtain at least one participant node category, and registering nodes corresponding to each participant node category in the service channel; and
for each node, registering each target participant node belonging to the participant node class corresponding to the node under the node as a child node to generate the blockchain in the blockchain network.
2. The method of claim 1, wherein prior to said grouping the target participant nodes corresponding to the traffic channels according to the grouping rules of the traffic channels, the method further comprises:
and determining that the number of the target participant nodes corresponding to the service channels is greater than or equal to a preset number.
3. The method according to claim 1, wherein the method further comprises:
and under the condition that the number of the target participant nodes corresponding to the service channel is smaller than the preset number, each target participant node is respectively used as a node to be registered into the service channel.
4. The method according to claim 1, wherein after registering each target participant node belonging to the category of participant nodes to which the node corresponds under the node as a child node, respectively, the method further comprises:
configuring access resources for each child node;
wherein each of the child nodes accesses any one of the data in the blockchain through the access resource of the child node.
5. The method of claim 1, wherein prior to registering nodes in the traffic channel that correspond to each of the respective categories of participant nodes, the method further comprises:
relevant information for each of the participant node categories is registered with the blockchain network.
6. The method of any of claims 1-5, wherein each of the child nodes is capable of providing an access interface for a user to access the blockchain network.
7. An apparatus for generating a blockchain, comprising:
the first acquisition module is configured to acquire related information of each participant node to be registered in the blockchain network;
the first determining module is configured to determine a target participant node corresponding to each service channel in the blockchain network according to the related information of each participant node;
the grouping module is configured to group target participant nodes corresponding to the service channels according to grouping rules of the service channels for each service channel to obtain at least one participant node category, and register nodes corresponding to each participant node category in the service channels; and
the first registration module is configured to register each target participant node belonging to the participant node category corresponding to the node under the node as a child node for each node so as to generate the blockchain in the blockchain network.
8. An apparatus for generating a blockchain, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring related information of each participant node to be registered in the blockchain network;
determining a target participant node corresponding to each service channel in the blockchain network according to the related information of each participant node;
for each service channel, grouping target participant nodes corresponding to the service channel according to grouping rules of the service channel to obtain at least one participant node category, and registering nodes corresponding to each participant node category in the service channel; and
for each node, registering each target participant node belonging to the participant node class corresponding to the node under the node as a child node to generate the blockchain in the blockchain network.
9. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1-6.
10. A blockchain network, characterized in that it comprises at least one blockchain generated according to the method of any of claims 1-6.
CN202010839839.XA 2020-08-19 2020-08-19 Method, device, readable storage medium and blockchain network for generating blockchain Active CN112102081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010839839.XA CN112102081B (en) 2020-08-19 2020-08-19 Method, device, readable storage medium and blockchain network for generating blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010839839.XA CN112102081B (en) 2020-08-19 2020-08-19 Method, device, readable storage medium and blockchain network for generating blockchain

Publications (2)

Publication Number Publication Date
CN112102081A CN112102081A (en) 2020-12-18
CN112102081B true CN112102081B (en) 2024-04-09

Family

ID=73754519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010839839.XA Active CN112102081B (en) 2020-08-19 2020-08-19 Method, device, readable storage medium and blockchain network for generating blockchain

Country Status (1)

Country Link
CN (1) CN112102081B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076760A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction processing method, system, electronic device, and storage medium
CN108646983A (en) * 2018-05-08 2018-10-12 北京融链科技有限公司 The treating method and apparatus of storage service data on block chain
CN109034809A (en) * 2018-08-16 2018-12-18 北京京东尚科信息技术有限公司 Generation method, device, block chain node and the storage medium of block chain
CN109101835A (en) * 2018-08-08 2018-12-28 苏州酷外文化传媒有限公司 The information security management method and device of blind date dating site based on block chain
CN109242681A (en) * 2018-08-21 2019-01-18 北京京东金融科技控股有限公司 Storage method, device, equipment and the system of asset data
CN109766727A (en) * 2018-12-25 2019-05-17 中链科技有限公司 Intelligent block network establishing method and system
CN109784882A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Alliance's chain information distribution control method and terminal device
CN109995596A (en) * 2019-04-11 2019-07-09 李莉莉 A kind of alliance's block chain visualization business partition method
CN110430248A (en) * 2019-07-23 2019-11-08 平安科技(深圳)有限公司 Block chain building method, apparatus, medium and electronic equipment based on cloud service
CN110598446A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Block chain based test method and device, storage medium and computer equipment
CN110633323A (en) * 2019-09-16 2019-12-31 腾讯科技(深圳)有限公司 Business data storage method, device, storage medium and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190334758A1 (en) * 2018-04-30 2019-10-31 Uppmarket, Inc. Compliance management and visualization of nodes in a network

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076760A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction processing method, system, electronic device, and storage medium
CN108646983A (en) * 2018-05-08 2018-10-12 北京融链科技有限公司 The treating method and apparatus of storage service data on block chain
CN109101835A (en) * 2018-08-08 2018-12-28 苏州酷外文化传媒有限公司 The information security management method and device of blind date dating site based on block chain
CN109034809A (en) * 2018-08-16 2018-12-18 北京京东尚科信息技术有限公司 Generation method, device, block chain node and the storage medium of block chain
CN109242681A (en) * 2018-08-21 2019-01-18 北京京东金融科技控股有限公司 Storage method, device, equipment and the system of asset data
CN109784882A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Alliance's chain information distribution control method and terminal device
CN109766727A (en) * 2018-12-25 2019-05-17 中链科技有限公司 Intelligent block network establishing method and system
CN109995596A (en) * 2019-04-11 2019-07-09 李莉莉 A kind of alliance's block chain visualization business partition method
CN110430248A (en) * 2019-07-23 2019-11-08 平安科技(深圳)有限公司 Block chain building method, apparatus, medium and electronic equipment based on cloud service
CN110598446A (en) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 Block chain based test method and device, storage medium and computer equipment
CN110633323A (en) * 2019-09-16 2019-12-31 腾讯科技(深圳)有限公司 Business data storage method, device, storage medium and computer equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Section-Blockchain: A Storage Reduced Blockchain Protocol, the Foundation of An Autotrophic Decentralized Storage Architecture;Xu, Yibin etc.;IEEE International Conference on Engineering of Complex Computer Systems-ICECCS;20190227;全文 *
基于区块链的全国不动产登记信息共享服务思路初探;贾文珏;张菲菲;;国土资源信息化;20200420(02);全文 *
基于联盟区块链的商品全流程溯源方法研究;章洪波;冯惠新;;现代信息科技;20200110(01);全文 *
基于联盟链的物联网动态数据溯源机制;乔蕊;曹琰;王清贤;;软件学报;20190327(第06期);全文 *

Also Published As

Publication number Publication date
CN112102081A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN108304475B (en) Data query method and device and electronic equipment
CN104636453B (en) The recognition methods of disabled user's data and device
CN110061904B (en) Method, device and system for acquiring social information, electronic equipment and storage medium
CN107590534B (en) Method and device for training deep convolutional neural network model and storage medium
CN107145771B (en) Application program unlocking method and device and terminal
CN107171938B (en) Method and device for shielding social friends
US11561278B2 (en) Method and device for processing information based on radar waves, terminal, and storage medium
CN110913276B (en) Data processing method, device, server, terminal and storage medium
US20170201479A1 (en) Group message display method, device and medium
CN107885464B (en) Data storage method, device and computer readable storage medium
CN112102081B (en) Method, device, readable storage medium and blockchain network for generating blockchain
CN111539617B (en) Data processing method and device, electronic equipment, interaction system and storage medium
CN114124866A (en) Session processing method, device, electronic equipment and storage medium
CN114186894A (en) Project risk detection method and device, electronic equipment and storage medium
CN107357643A (en) Application call method, apparatus and computer-readable recording medium
CN109255601B (en) Terminal bus card processing method and device
CN105763428A (en) Information fraud prevention method based on user historical data
CN107800849B (en) Contact object identity setting method and device
CN107168693B (en) Display method and device of screen locking interface
CN111526084A (en) Information processing method, device, equipment and storage medium
CN110750355B (en) Control system, control method and device
CN114238728B (en) Vehicle data processing method, device and equipment
CN113468503B (en) Identification information distribution method and device and electronic equipment
CN112307353B (en) Data processing method and device, electronic equipment and storage medium
CN109992937B (en) Identity authentication method and identity authentication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 803, 8th floor, building 5, courtyard 15, Kechuang 10th Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176

Applicant after: Tianxing Digital Technology Co.,Ltd.

Address before: 100176 No. 2243, floor 2, building D, building 33, No. 99, Kechuang 14th Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing (centralized office area)

Applicant before: Xiaomi Digital Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant